<include file="Public:header"/>
<div class="wrapper">
  <div class="sitepath">当前位置：<a href="{$webConfig['host_url']}">首页</a>&nbsp;&rsaquo;&nbsp; 目录资讯</div>
  <div class="clear"></div>
</div>
<div class="wrapper">
  <div class="clearfix scatebox">
    <ul class="scatelist">
    	<volist name="cateTree" id="ct">
          <li><a href="{$ct['url']}"<eq name="ct['active']" value="1"> class="active"</eq>>{$ct['name']}</a>
                <notempty name="ct['tree']">
                <div>
                	<volist name="ct['tree']" id="ctt">
                    <a href="{$ctt['url']}"<eq name="ctt['active']" value="1"> class="active"</eq>>{$ctt['name']}</a>
                    </volist>
                </div>
                </notempty>
          </li>
       </volist>
    </ul>
  </div>
</div>
<div class="clear"></div>
<div class="wrapper">
  <div class="mainbox">
    <div class="mainbox-left">
      <div class="clearfix listbox">
        <h1>网站分类目录资讯</h1>
        <ul class="news-list">
         <volist name="list" id="vo">
        <li>
        	<span>{:date('Y-m-d', $vo['add_time'])}</span>
        	<a href="{$vo['url']}">{$vo['name']}</a>
        </li>
        </volist>
        </ul>
        
        <div class="clearfix showpage"><span class="total_page">共{$page['count']}条资讯 当前{$page['nowPage']}/{$page['countPage']}页</span>
        <a href="{:U('/news/')}" class="first_page">首页</a>
        <gt name="page['prev']" value="1"><a href="{:U($pageUrl.'p'.$page['prev'])}" class="prev_page">上一页</a></gt>
        <foreach name="page['forPage']" item="vo">
            <if condition="($page['nowPage'] == $vo)"> <span class="current">{$vo}</span>
              <else/>
              <a href="{:U($pageUrl.'p'.$vo)}" class="pages">{$vo}</a> </if>
          </foreach>
          <gt name="page['prev']" value="1"><a href="{:U($pageUrl.'p'.$page['next'])}" class="next_page">下一页</a></gt>
            <a href="{:U($pageUrl.'p'.$page['endPage'])}" class="last_page">尾页</a>
          
        </div>
      </div>
    </div>
    <div class="mainbox-right">
      <div>{:W('Ad', 6)}</div>
      <div class="clear"></div>
      <div class="hotbox">
        <h2>最新目录资讯</h2>
        <ul class="hotlist">
        <article limit="9">
        <li><a href="{$vo['url']}"><span>{$key+1}.</span>{$vo['name']}</a><em>{$vo['views']}℃</em></li>
        </article>
        </ul>
      </div>
      <div class="clear"></div>
      <div class="bestbox">
        <h2>最新加入站点</h2>
        <ul class="bestlist">
        	<websites limit="5">
            	 <li <if condition="($key+1) == 5"> class="last"</if>>
              <div><a href="{$vo['url']}" rel="nofollow"><img src="http://api.webthumbnail.org?width=320&height=200&screen=1024&url=http://{$vo['domain']}" alt="{$vo['name']}"></a></div>
              <p><a href="{$vo['url']}">{$vo['name']}</a><br>
                <span>{$vo['domain']}</span></p>
            </li>
           </websites>
        </ul>
      </div>
    </div>
  </div>
</div>
<include file="Public:footer"/> 